Skip to content

Support running DKG while online - #82

Open
SupernaviX wants to merge 4 commits into
mainfrom
online-dkg
Open

SupernaviX wants to merge 4 commits into
mainfrom
online-dkg

Conversation

@SupernaviX

Copy link
Copy Markdown
Collaborator

We want to expand the network without downtime. To add new members, we need to run a DKG process, to not have downtime we need to continue running the normal oracle process. It will be far easier to run DKG if we can do it via the existing binary, using the same ports which we use for normal operation.

So, implement that. The node now operates as an oracle node when you have a frost_address configured, and as a dkg node when you have keygen.enabled set, and both when you have both. The network layer knows which message types are relevant for which types of nodes, and only allows messages between peers of the appropriate type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant